//
//  SinaController.h
//  kankanVideo
//
//  Created by wangbo on 7/10/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

@protocol SinaControllerDelegate <NSObject>

@required
-(void)didLogin;
@end

#import <Foundation/Foundation.h>
#import "WBSendView.h"
#import "WBEngine.h"
#import "AppDelegate.h"
#import "MyCoreData.h"
#import "ConfigData.h"

@interface SinaController : NSObject<WBEngineDelegate,WBSendViewDelegate>{
    BOOL loginflag;
}

@property(nonatomic,assign)id<SinaControllerDelegate>delegate;

+(SinaController*)shareInstance;
-(BOOL)isLogin;
-(NSDictionary*)getSinaInfo;
-(void)login:(UIViewController*)_root;
-(void)sendWithContent:(NSString*)_content withImage:(UIImage*)_image;
//+(WBEngine*)weiboEngine;
//+(WBSendView*)weiboSendView;
@end
